package com.chuan.thinkingjava.think1;

public class rrrrr {

	public static void main(String[] args) {
		  Thread t = new Thread() {
		     public void run() {
		      pong();
		    }
		  };
		  t.run();
		  System.out.print("ping");
		}

		static void pong() {
		  System.out.print("pong");
		}
		
}
